//
//  BKTwoViewCell.m
//  FastBee
//
//  Created by mac on 16/9/10.
//  Copyright © 2016年 xbk. All rights reserved.
//

#import "BKTwoViewCell.h"
#import "BKTwoCollectionView.h"
#import "masonry.h"

@implementation BKTwoViewCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        [self setupUI];
    }
    return self;
}

- (void)setupUI{

    
    BKTwoCollectionView *collec = [[BKTwoCollectionView alloc]init];
    [self.contentView addSubview:collec];
    collec.bounces = NO;
    collec.scrollEnabled = NO;
    collec.backgroundColor = [UIColor colorWithRed:222/255.0 green:222/255.0 blue:222/255.0 alpha:1.0];
    [collec mas_makeConstraints:^(MASConstraintMaker *make) {
        
        make.left.equalTo(self.contentView).offset(12);
        make.right.equalTo(self.contentView).offset(-12);
        make.height.equalTo(self.contentView);
    }];
    
    
    
}



@end
